﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Welcome.aspx.cs" Inherits="WEALTH.Manager.Welcome" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
     <meta http-equiv="Content-Type" content="text/html; charset=unicode" />    
    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
    <title>网站后台管理系统</title>
    <link href="css/admin.global.css" rel="stylesheet" type="text/css" />
    <link href="css/admin.index.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
    <script type="text/javascript" src="js/jquery.utils.js"></script>
    <link href="jBox/Skins/Green/jbox.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="jBox/jquery.jBox-2.3.min.js"></script>
    <script type="text/javascript" src="js/admin.js"></script>
    <style type="text/css">
        .multilingual{height:19px; line-height:19px; margin-top:3px;}
    </style>
    <script type="text/javascript">

        //禁用右键、文本选择功能、复制按键  
        $(document).bind("contextmenu", function () { return false; });
        $(document).bind("selectstart", function () { return false; });

        function getUrlParam(name) {
            var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
            var r = window.location.search.substr(1).match(reg);  //匹配目标参数
            if (r != null) return unescape(r[2]); return ''; //返回参数值
        }
        var page = "Default.aspx";
        var sub = getUrlParam("local");
        if (sub != '') {
            page = getUrlParam("local");
        }

        // 初始化下面的变量
        Admin.IsIndexPage = true;
        Admin.IndexStartPage = "Default.aspx";
        Admin.LogoutUrl = 'Login.aspx';

        function change(whichLink) {
            var box = document.getElementById("menu-container");
            var links = box.getElementsByTagName("a");
            for (var i = 0; i < links.length; i++) {
                if (jQuery(links[i]).parent().attr("tagName") != 'DIV') {
                    if (whichLink.href == links[i].href) {
                        links[i].setAttribute("class", "selectOnstyle");
                        jQuery(links[i]).attr("class", "selectOnstyle");
                    }
                    else {
                        links[i].setAttribute("class", "selectOffstyle");
                        jQuery(links[i]).attr("class", "selectOffstyle");
                    }

                }
            }
            //            whichLink.setAttribute("class", "selectOnstyle");
            //            jQuery(whichLink).attr("class", "selectOnstyle");
        }
 
    </script>
</head>
<body>
<form runat="server" id="form1">
<div id="header">
    <div id="header-logo"><img src="images/logo.gif" alt="logo" width="59" height="64" border="0" /></div>
    <div id="header-title">网站后台管理系统</div>
    <div id="header-info">
        <span style="margin-right:50px;color:#fff;"><b><%=Session["username"] %></b> 您好，欢迎使用网站后台管理系统！</span>
        <a href="javascript:Admin.Logout();"><img src="images/out.gif" class="middle" alt="安全退出" width="46" height="20" border="0" /></a>
    </div>
</div><!--//#header-->

<div id="main">
	<div id="left">
        <div id="menu-container">
            <%=str %>        
       </div>
        <div id="menu-bottom"></div>
    </div><!--//#left-->
     
    <div id="right">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td class="index-table-top-left"></td>
                <td class="index-table-top-center">
                    <div class="index-table-welcome-left"></div>
                    <div class="index-table-welcome-center" id="index-title">欢迎登录</div>
                    <div class="index-table-welcome-right"></div>
                    <div class="clear"></div>
                </td>
                <td class="index-table-top-right"></td>
            </tr>
            <tr>
                <td class="index-table-middle-left"></td>
                <td class="index-table-middle-center" valign="top" id="content-container">
                    
                    <%--<form id="form2" runat="server">--%>
                    <div id="loading">
                        <img src="images/loading.gif" alt="loading" border="0" />                       
                    </div>
                    <%--</form> --%>                   
                    <script type="text/javascript">
                        Index.OutputIframe();
                    </script>
                </td>
                <td class="index-table-middle-right"></td>
            </tr>
            <tr>
                <td class="index-table-bottom-left"></td><td class="index-table-bottom-center"></td><td class="index-table-bottom-right"></td>
            </tr>
        </table>
    </div><!--//#right-->
    <div class="clear"></div>
</div><!--//#main-->
    
<div id="footer">
    <div id="footer-msg"> Copyright &copy; 2013-2018 www.XXX.com All Rights Reserved.</div>
    <div id="footer-lang">
       
    </div>
</div><!--//#footer-->
</form>
</body>
</html>

